package com.ssm.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssm.admin.entity.dto.SaleOrderDto;
import com.ssm.common.utils.PageUtils;
import com.ssm.admin.entity.SsmSalesorderEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ssm
 * @email sunlightcs@gmail.com
 * @date 2023-03-19 17:30:08
 */
public interface SsmSalesorderService extends IService<SsmSalesorderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    public List<SaleOrderDto> findOrderInfo();

    /**
     * 条件分页查询
     * @param username
     * @param page
     * @param limit
     * @return
     */
    public List<SaleOrderDto> findOrderByUsername( String username,Integer page,Integer limit);

    /**
     * 查询总数量
     * @return
     */
    public Integer findCount();

}

